package com.feitubc.tools.fileimport;

import java.util.List;

import com.feitubc.tools.fileimport.domain.ImportLogObject;
import com.feitubc.tools.fileimport.strategy.AbstractImportFileTemplate;

/**
 * 说明：日志操作记录接口
 * @see AbstractImportFileTemplate#saveOperateLog
 * 	依赖 FileStrategySetting#saveLog = true 
 * 	具体实现 ${baseLogService.name}
 * @author zhc
 */
public interface BaseLogService<T extends ImportLogObject> {

	/**
     * 批量增加日志信息
     * 
     * @param importLogObjects
     * @return
     */
    public boolean insert(List<T> importLogObjects);

    /**
     * 单个增加日志信息
     * 
     * @param importLogObject
     * @return
     */
    public boolean insert(T importLogObject);
}
